package org.example.aigc.entity;

public class Part {

    /**
     * id
     */
    private Long id;

    /**
     * name
     */
    private String name;

    /**
     * chapter
     */
    private String chapter;

    /**
     * course
     */
    private Course course;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getChapter() {
        return chapter;
    }

    public void setChapter(String chapter) {
        this.chapter = chapter;
    }

    public Course getCourse() {
        return course;
    }

    public void setCourse(Course course) {
        this.course = course;
    }

    @Override
    public String toString() {
        return "Part{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", chapter='" + chapter + '\'' +
                ", course=" + course +
                '}';
    }
}
